<!--{include(pe_tpl('header.html'));}-->
<div class="huiyuan_content">
	<!--{include(pe_tpl('user_menu.html'));}-->
	<div class="fr huiyuan_main">
		<div class="hy_tt">
			<a href="user.php?mod=refund" <!--{if(!$_g_state):}-->class="sel"<!--{endif;}-->>全部申请（{$tongji['all']}）<i></i><i></i></a>
			<!--{foreach($ini['refund_state'] as $k=>$v):}-->
			<a href="user.php?mod=refund&state={$k}" <!--{if($_g_state==$k):}-->class="sel"<!--{endif;}-->>{$v}（{$tongji[$k]}）<i></i></a>
			<!--{endforeach;}-->
		</div>
		<div class="mat15">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="hy_ordertt1">
			<tr>
				<td>商品信息</td>
				<td width="101">退款金额</td>
				<td width="101">退款类型</td>
				<td width="101">状态</td>
				<td width="101">操作</td>
			</tr>
			</table>
		</div>
		<!--{foreach($list as $v):}-->
		<div class="hy_ordertt">
			<span class="fl">{$v['refund_atime']}</span>
			<span class="fl" style="margin-left:30px">订单编号：{$v['order_id']}</span>
			<span class="fl" style="margin-left:30px">退款编号：{$v['refund_id']}</span>
			<div class="clear"></div>
		</div>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="hy_orderlist">
		<tr>
			<td style="text-align:left;">
				<div class="dingdan_list" style="padding-top:0;border-top:0">
					<a href="{pe_url('product/'.$v['product_id'])}" class="fl mar10 dingdan_img" target="_blank"><img src="{$v['product_logo']}" /></a>
					<div class="fl dingdan_name">
						<a href="{pe_url('product/'.$v['product_id'])}" target="_blank" class="dd_name">{$v['product_name']}</a>
						<p class="c888 mat5">{$v['product_rule']}</p>
					</div>
					<div class="fr dingdan_jg">¥{$v['product_money']} <span class="mat5 c888 font12">×{$v['product_num']}</span></div>
					<div class="clear"></div>
				</div>
			</td>
			<td width="100"><p class="corg font14">￥{$v['refund_money']}</p></td>
			<td width="100">{$v['refund_typeshow']}</td>
			<td width="100">{$v['refund_stateshow']}<p class="mat5"><a href="user.php?mod=refund&act=view&id={$v['refund_id']}" target="_blank">查看详情</a></p></td>
			<td width="100">
				<!--{if(in_array($v['refund_state'], array('wcheck', 'refuse'))):}-->
				<a class="tag_org" href="user.php?mod=refund&act=edit&id={$v['refund_id']}" onclick="return pe_dialog(this, '修改退款/退货申请', 700, 450)">修改申请</a>
				<p class="mat5"><a class="c999" href="javascript:pe_confirm('取消退款申请', 'user.php?mod=refund&act=close&id={$v['refund_id']}&token={$pe_token}');">取消申请</a></p>
				<!--{elseif($v['refund_state'] == 'wsend'):}-->
				<a class="tag_blue" href="user.php?mod=refund&act=send&id={$v['refund_id']}" onclick="return pe_dialog(this, '填写退货单号', 700, 500)">填写单号</a>
				<p class="mat5"><a class="c999" href="javascript:pe_confirm('取消退款申请', 'user.php?mod=refund&act=close&id={$v['refund_id']}&token={$pe_token}');">取消申请</a></p>
				<!--{else:}-->
				-
				<!--{endif;}-->
			</td>
		</tr>
		</table>
		<!--{endforeach;}-->
		<div class="fenye mat10">{$db->page->html}</div>
	</div>
	<div class="clear"></div>
</div>
<!--{include(pe_tpl('footer.html'));}-->